package com.shop.shop_end.service;

import com.shop.shop_end.entity.MessageJson;
import com.shop.shop_end.utils.result.Result;

import javax.annotation.Resource;

public interface MessageJsonService {
    Result addOneMsg(MessageJson messageJson);//增加一条信息

    Result delOneMsg(MessageJson messageJson);//撤回一条信息

    Result delPartMsg(MessageJson messageJson);//批量删除消息,设置enable为0

    Result getMyMsg(Long sendId, Long receiveId);//获取消息
}
